<div class="row-fluid">
    <div class="span12">
        <div class="header-block clearfix">
            <div class="left-block">Thêm mới user</div>
            <div class="right-block">
                <?php
                echo $this->Html->link('<i class="icon-list icon-black"></i> Quản lý user', array('controller' => 'Admin', 'action' => 'userindex'),array('escape' => false,'class'=>'btn'));
                ?>
            </div>
        </div>
        <div class="content">
            <?php echo $this->Form->create('User', array('type' => 'file','class'=>'form-horizontal'));?>
            <div class="tabbable tabs-left">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#tab1" data-toggle="tab">Nội dung</a></li>
                </ul>
                <div class="tab-content">
                    <?php echo $this->Session->flash(); ?>

                    <?php echo $this->Form->create('User', array('type' => 'file','class'=>'form-horizontal'));?>
                    <?php
                    echo $this->Form->input('id');
                    echo $this->Form->input('group_id', array('label'=>'Nhóm','class'=>'small-input','div'=>array('class'=>'control-group')));
                    echo $this->Form->input('username', array('label'=>'Tài khoản','class'=>'text-input','div'=>array('class'=>'control-group')));
                    echo $this->Form->input('email', array('label'=>'Email','class'=>'text-input','div'=>array('class'=>'control-group')));
                    echo $this->Form->input('phonenumber', array('label'=>'So Dien Thoai','class'=>'text-input','div'=>array('class'=>'control-group')));
                    echo '<div class="control-group"><div class="controls checkbox-contain"><label class="checkbox">';
                    ?>
                </div>
                <div class="buttons">
                    <?php
                    echo $this->Form->submit(__('Save', true), array('class'=>'btn btn-primary'));
                    echo $this->Html->link(__('Cancel', true), array(
                        'action' => 'index',
                    ), array(
                        'class' => 'button btn',
                    ));
                    echo $this->Form->end();
                    ?>
                </div>

                    <div class="tab-pane active" id="tab1">

                </div>
            </div>
        </div>
    </div>
</div>







<!--                    --><?php //echo $this->Form->create('User', array('type' => 'file','class'=>'form-horizontal'));?>
<!--                    <div>-->
<!--                        --><?php
//                            echo $this->Form->input('group_id', array('label'=>'Nhóm','class'=>'small-input','div'=>array('class'=>'control-group')));
//                            echo $this->Form->input('username', array('label'=>'Tài khoản','class'=>'text-input','div'=>array('class'=>'control-group')));
//                            echo $this->Form->input('password', array('label'=>'Mật khẩu','class'=>'text-input','div'=>array('class'=>'control-group')));
//                            echo $this->Form->input('email', array('label'=>'Email','class'=>'text-input','div'=>array('class'=>'control-group')));
//                        ?>
<!--                    </div>-->
<!--                    <div>-->
<!--                        --><?php
//                            echo $this->Form->submit(__('Save', true), array('class'=>'btn btn-primary'));
//                            echo $this->Form->end();
//                        ?>
<!--                    </div>-->
